using System;
using System.Collections.Generic;

namespace Data.Models
{
    public partial class UOM
    {
        public UOM()
        {
            this.BillDetails = new List<BillDetail>();
            this.Currencies = new List<Currency>();
            this.LabourDetails = new List<LabourDetail>();
            this.LabourDetails1 = new List<LabourDetail>();
            this.LevelNorms = new List<LevelNorm>();
            this.MaterialDetails = new List<MaterialDetail>();
            this.OtherCostDetails = new List<OtherCostDetail>();
            this.ToolDetails = new List<ToolDetail>();
            this.ToolDetails1 = new List<ToolDetail>();
            this.ToolNorms = new List<ToolNorm>();
            this.WorkerLevels = new List<WorkerLevel>();
        }

        public int ID { get; set; }
        public string Code { get; set; }
        public string Name { get; set; }
        public Nullable<int> Quantity { get; set; }
        public string Description { get; set; }
        public Nullable<double> RoundPrecision { get; set; }
        public Nullable<bool> Active { get; set; }
        public Nullable<int> Type { get; set; }
        public Nullable<double> Ratio { get; set; }
        public virtual ICollection<BillDetail> BillDetails { get; set; }
        public virtual ICollection<Currency> Currencies { get; set; }
        public virtual ICollection<LabourDetail> LabourDetails { get; set; }
        public virtual ICollection<LabourDetail> LabourDetails1 { get; set; }
        public virtual ICollection<LevelNorm> LevelNorms { get; set; }
        public virtual ICollection<MaterialDetail> MaterialDetails { get; set; }
        public virtual ICollection<OtherCostDetail> OtherCostDetails { get; set; }
        public virtual ICollection<ToolDetail> ToolDetails { get; set; }
        public virtual ICollection<ToolDetail> ToolDetails1 { get; set; }
        public virtual ICollection<ToolNorm> ToolNorms { get; set; }
        public virtual ICollection<WorkerLevel> WorkerLevels { get; set; }
    }
}
